package com.xbfinance.manager.dao;

import com.xbfinance.manager.pojo.dto.AdminPageParam;
import com.xbfinance.manager.pojo.dto.AdminSearch;
import com.xbfinance.manager.pojo.po.P2pAccountCash;
import org.apache.ibatis.annotations.Param;

import java.util.Date;
import java.util.List;

public interface P2pAccountCashMapperSon extends P2pAccountCashMapper{
    long countItems();

    List<P2pAccountCash> listItemsByPage(AdminPageParam page);

    int voUpdateByPrimaryKey(P2pAccountCash p2p);

    List<P2pAccountCash> seachDiy(@Param("page") AdminPageParam page, @Param("as")AdminSearch as);

    int getSearchCount(@Param("as") AdminSearch as);

    int updateAgreeCashstatus(@Param("cid") int cid,@Param("date") Date date);

    int updateRejectCashstatus(int cid);
}
